<template>
    <view>
        <web-view :src="src" />
    </view>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
const src = ref('')
onLoad((options: any) => {
    let redirectUrl = options.redirectUrl
    redirectUrl = redirectUrl.replace("$", "?")
    redirectUrl = redirectUrl.replace("!", "=")
    src.value = redirectUrl
})
</script>
